import request from "@/utils/request";

export function updateCommentReview(param){
    return request({
        url:'/admin/comments/review',
        method:'put',
        data:param
    })
}

export function deleteComments(param) {
    return request({
        url:'/admin/comments',
        method:'delete',
        data:param.data
    })
}

export function listComments(param) {
    return request({
        url:'/admin/comments',
        method:'get',
        params:param
    })
}
